package com.hongli.blog.mapper;

import com.hongli.blog.entity.RoleDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Rolemapper {

    List<RoleDao> SelectAllRole();

    RoleDao SelectRoleAdmin();

    void InsertRole(RoleDao roleDao);

    void UpdataRoleNO(@Param("roleid") int roleid, @Param("roleenableNo") String roleenableNo);
}
